********************************************
***ARE MUSLIM COUNTRIES MORE PRONE TO WAR***
**********GLEDITSCH & RUDOLFSEN*************
********RESEARCH AND POLITICS 2016**********
********************************************

***DATASETS: 124920_1ucdp-prio-_2015.dta & PRIO battle deaths 2009 version with no missing data.dta***

clear all
set more off
set matsize 2000

local date	"`c(current_date)'"
local user  "`c(username)'"

capture cd "/Users/idarudolfsen/Dropbox/Ida PRIO/NPG og Siri/Religion and Conflict/Research and Politics/Submission"
capture cd "C:/Users/idarud/Dropbox/Ida PRIO/NPG og Siri/Religion and Conflict/Research and Politics/Submission"
capture log close
log using "Do-files/Islam and conflict `date'.txt", text replace

*/PREPARING THE DATA FOR TABLES: DEFINE MAJORITY RELIGION IN COUNTRY*/
include "Do-files/Religion PEW.do"

*/TABLE 1*/
include "Do-files/Table 1.do"

*/TABLE 2*/
include "Do-files/Table 2.do"

*/TABLE 3*/
*Table created in excel. Sources: Pew (2009) for the population figures. 
*Conflict data from the UCDP/PRIO project (Pettersson and Wallensteen, 2015). 

*/PREPARING THE DATA FOR FIGURES: DEFINE MUSLIM MAJORITY AND ISLAMIST GROUPS*/
include "Do-files/Muslim majority & Islamist.do"

*/FIGURE 1*/
*Figure created in ArcGIS. Sources: Pew (2009) for majority religion, and Hallberg (2012) for the location of conflicts. 

*/FIGURE 2*/
include "Do-files/Figure 2.do"

*/FIGURE 3*/
include "Do-files/Figure 3.do"

*/FIGURE 4*/
include "Do-files/Figure 4.do"

*/FIGURE 5*/
include "Do-files/Figure 5.do"
